package model

import (
	"time"
)

type AuTransferLog struct {
	TransferId       int       `xorm:"not null pk autoincr INT(11)"`
	OrderId          int       `xorm:"not null unique INT(11)"`
	EmpId            int       `xorm:"not null index INT(10)"`
	TransferTo       int       `xorm:"not null TINYINT(1)"`
	Company          string    `xorm:"not null VARCHAR(200)"`
	Phone            string    `xorm:"not null VARCHAR(20)"`
	Contact          string    `xorm:"not null VARCHAR(100)"`
	Idcard           string    `xorm:"not null VARCHAR(20)"`
	ManId            int       `xorm:"not null INT(10)"`
	Result           int       `xorm:"not null default 1 TINYINT(1)"`
	Startremark      string    `xorm:"not null TEXT"`
	Relocationremark string    `xorm:"not null TEXT"`
	Succremark       string    `xorm:"not null TEXT"`
	Createtime       time.Time `xorm:"not null DATETIME"`
	Deadlinetime     time.Time `xorm:"not null DATETIME"`
	Mentiontime      time.Time `xorm:"not null DATETIME"`
	LastUpdate       time.Time `xorm:"not null default '0000-00-00 00:00:00' DATETIME"`
	Sid              int       `xorm:"not null INT(11)"`
	ZipUrl           string    `xorm:"not null VARCHAR(255)"`
}
